package com.qianfeng.openplatform.exception;

/**
 * @author 江江
 * @Date 2020/7/22 10:58
 * 定义异常
 */
public class CheckException extends RuntimeException{
    private String code;

    public CheckException(String message ,String code){
        super(message);
        this.code = code;
    }
    public CheckException(String message){
        super(message);
    }
    public CheckException(){}

    public void setCode (String code){
        this.code=code;
    }
    public String getCode(){
        return code;
    }
}
